package io.qar.rawMaterialsConfig.service;

import io.qar.commons.mybatis.service.CrudService;
import io.qar.rawMaterialsConfig.dto.RawMaterialsConfigDTO;
import io.qar.rawMaterialsConfig.entity.RawMaterialsConfigEntity;

import java.util.List;

/**
 * 原材料配置表
 *
 * @author yyyyjinying 1020066395@qq.com
 * @since 3.0 2024-07-21
 */
public interface RawMaterialsConfigService extends CrudService<RawMaterialsConfigEntity, RawMaterialsConfigDTO> {
    List<RawMaterialsConfigDTO> query(Long dishId);
    void deleteMaterials(List<Long> configIds, Long dishId);
}